How to convert recurring decimal into fraction